"use strict";
cc._RF.push(module, 'b7e16mKWtNHR7WXldOkr06/', 'API');
// script/API.ts

"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property;
var API = /** @class */ (function (_super) {
    __extends(API, _super);
    function API() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    API.baseHostname = "http://mp.qdmedia.cc"; //服务器根地址
    //从服务器上获取展示区域的前50副画
    API.getShowcaseImageList = 'http://h5files.oss-cn-hangzhou.aliyuncs.com/artGallery/test/api/getShowcaseImageList5';
    /*--------------------------个人馆接口---------------------------*/
    //获取微信用户信息和gallery_id    Post:openid   
    API.getGallery_id = "http://mp.qdmedia.cc/api/Wechat/user_login";
    //个人美术馆入口
    API.showroomEnter = "http://mp.qdmedia.cc/api/Wechat/common_wechat_info";
    /**获取美术馆的标签 */
    API.showroomTag = "http://mp.qdmedia.cc/api/Gallery/work_tag_list";
    /**获取美术馆信息 */
    API.showroomInfo = "http://mp.qdmedia.cc/api/Gallery/get_gallery";
    //获取用户点赞作品
    API.likeworks = "http://mp.qdmedia.cc/api/Gallery/get_wechat_like";
    //记录用户点赞作品
    API.worklike = "http://mp.qdmedia.cc/api/Gallery/work_like";
    //判断是否拥有美术馆
    API.checkGallery = "http://mp.qdmedia.cc/api/wechat/check_wechat_gallery?wechat_id=";
    /*--------------------------个人馆接口---------------------------*/
    //获取美术馆作品列表
    API.getworks_list = "http://mp.qdmedia.cc/api/Gallery/works_list";
    //管理我的美术馆
    API.my_gallery = "http://screen.qdmedia.cc/artWeb/my-gallery.html?openid=";
    //查询可领取的美术馆
    API.gallery_list = "http://mp.qdmedia.cc/api/Gallery/gallery_list";
    //绑定微信领取美术馆
    API.wechat_bind_user = "http://mp.qdmedia.cc/api/Wechat/wechat_bind_user";
    API = __decorate([
        ccclass
    ], API);
    return API;
}(cc.Component));
exports.default = API;

cc._RF.pop();